Tracing just-in-time compilation